package cn.wsalix.shiro.utils;

import org.springframework.stereotype.Service;

import cn.wsalix.user.entity.UserInfo;
import cn.anlaser.utils.FastJsonMapper;
import cn.wsalix.vo.CommonVO;

@Service("shiroUtils")
public class ShiroUtils {

	public String onLoginSuccess(UserInfo user, String sessionId) {
		CommonVO<Object> commonVO = null;

		return FastJsonMapper.toJson(commonVO);
	}

	public CommonVO<Object> loginSuccess(UserInfo user, String sessionId) {
		CommonVO<Object> commonVO = null;
		
		return commonVO;
	}

	public static CommonVO<Object> onLoginError() {
		CommonVO<Object> commonVO = null;
		
		return commonVO;
	}
}
